package com.beaven.imclient.presenter.user;

import com.beaven.imclient.base.BaseContract;
import com.beaven.model.model.card.UserCard;
import java.util.List;

/**
 * author: Beaven
 * time: 2017/5/22 16:35
 */

public interface FollowContract {

  interface Presenter extends BaseContract.Presenter {

    void search();

    void addFriend(String userId, String categoryId);
  }

  interface View extends BaseContract.View<Presenter> {

    String getSearchName();

    void showList(List<UserCard> userCards);

    void notify(int count, UserCard userCard);

    void setEmptyShow(boolean isShow);

    void showLoading();

    void hideLoading();

    void showText(int stringId);
  }
}
